/**
 * Alipay.com Inc.
 * Copyright (c) 2004-2016 All Rights Reserved.
 */
package com.alipay.study.common.contact.test;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 
 * @author wb-qlj205528
 * @version $Id: UserContact.java, v 0.1 2016年11月9日 下午2:29:27 wb-qlj205528 Exp $
 */
@Component
@PropertySource(value = "classpath:user1.properties", ignoreResourceNotFound = true)
@ConfigurationProperties(prefix = "user")
public class UserContact {

    /**
     * 
     */
    private String id;

    /**
     * 
     */
    private int    order;
    /**
     * 
     */
    private String value;
    /**
     * 
     */
    private long   longV;

    /**
     * 
     */
    private String name;
    /**
     * 
     */
    private String password;

    /**
     * Getter method for property <tt>order</tt>.
     * 
     * @return property value of order
     */
    public int getOrder() {
        return order;
    }

    /**
     * Setter method for property <tt>order</tt>.
     * 
     * @param order value to be assigned to property order
     */
    public void setOrder(int order) {
        this.order = order;
    }

    /**
     * Getter method for property <tt>value</tt>.
     * 
     * @return property value of value
     */
    public String getValue() {
        return value;
    }

    /**
     * Setter method for property <tt>value</tt>.
     * 
     * @param value value to be assigned to property value
     */
    public void setValue(String value) {
        this.value = value;
    }

    /**
     * Getter method for property <tt>longV</tt>.
     * 
     * @return property value of longV
     */
    public long getLongV() {
        return longV;
    }

    /**
     * Setter method for property <tt>longV</tt>.
     * 
     * @param longV value to be assigned to property longV
     */
    public void setLongV(long longV) {
        this.longV = longV;
    }

    /**
     * Getter method for property <tt>id</tt>.
     * 
     * @return property value of id
     */
    public String getId() {
        return id;
    }

    /**
     * Setter method for property <tt>id</tt>.
     * 
     * @param id value to be assigned to property id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * Getter method for property <tt>name</tt>.
     * 
     * @return property value of name
     */
    public String getName() {
        return name;
    }

    /**
     * Setter method for property <tt>name</tt>.
     * 
     * @param name value to be assigned to property name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Getter method for property <tt>password</tt>.
     * 
     * @return property value of password
     */
    public String getPassword() {
        return password;
    }

    /**
     * Setter method for property <tt>password</tt>.
     * 
     * @param password value to be assigned to property password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "UserContact [id=" + id + ", order=" + order + ", value=" + value + ", longV="
               + longV + ", name=" + name + ", password=" + password + "]";
    }
}
